import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)
export default new Vuex.Store({
        state: {
            laseSearch: [],
        },
        mutations: {
            //更改laseSearch
            pushlaseSearch(state, val) {
                state.laseSearch.push(val)
            },

            deleconfirmbuy(state) {
                state.laseSearch = []
            },
        }
    })
    //设置路由导航守卫